<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * used for deal with the index of the data
 * @author   samhe
 * @param index
 */

function smarty_modifier_dataindex($index)
{
      return ceil($index/1000);
}
/* vim: set expandtab: */

?>
